package com.lfc.flowable.listener;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.ExecutionListener;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author liufucheng
 * @version 1.0
 * @date 2022/1/26 15:41
 */
@Component("ManagerListener")
@Scope("prototype")
public class ManagerListener implements ExecutionListener {


    @Override
    public void notify(DelegateExecution execution) {
        System.err.println("经理审批!!!");
    }
}
